.icon {
  width: 1em; height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

* {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  background-color: #efefef;
}

a {
  color: inherit;
  text-decoration: none;
}

ol,
ul {
  list-style: none;
}

hr {
  height: 0;
  border: none;
  border-top: 1px solid #dedede;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

.clearFix::after {
  content: "";
  display: block;
  clear: both;
}

[data-x].offset {
  transform: translateY(120px);
}

[data-x] {
  transform: translateY(0);
  transition: all 0.5s;
}

.topNavBar {
  padding: 20px 0px;
  position: fixed;
  top: 0;
  left: 0ch;
  width: 100%;
  transition: all 0.5s;
  color: rgba(255, 255, 255, 0.7);
}

.topNavBar.sticky {
  background-color: rgb(255, 255, 255);
  z-index: 1;
  padding: 12px 0px;
  box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.18), 0 1px 5px 0 rgba(0, 0, 0, 0.15);
  color: #b7b7b7;
}

.topNavBar-inner {
  padding: 0px 16px;
}

.topNavBar .logo {
  color: red;
  font-size: 24px;
  font-family: "Arial Black";
  display: block;
  float: left;
  padding-top: 1px;
  padding-bottom: 1px;
}

.topNavBar .logo > .logo-rs {
  color: rgb(232, 103, 107);
}

.topNavBar .logo > .logo-card {
  color: rgb(154, 157, 162);
  margin-left: 4px;
}

.topNavBar nav {
  float: right;
}

.topNavBar nav > ul > li {
  float: left;
  margin-left: 17px;
  margin-right: 17px;
  position: relative;
}

.topNavBar nav > ul > li > a {
  font-size: 14px;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  font-weight: bold;
  padding-top: 5px;
  padding-bottom: 5px;
  display: block;
  position: relative;
}
.topNavBar nav > ul > li > a:hover::after,
.topNavBar nav > ul > li.active > a::after,
.topNavBar nav > ul > li.highLight > a::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #e06567;
  animation: menuSlide 0.4s;
}
@keyframes menuSlide {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

.topNavBar .submenu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background-color: #fff;
  color: #3d4451;
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.topNavBar li.active > .submenu {
  display: block;
  animation: submenuSlide 0.3s;
}
@keyframes submenuSlide {
  0% {
    margin-right: 100%;
  }
  100% {
    margin-right: 0;
  }
}

.topNavBar .submenu > li {
  white-space: nowrap;
  padding: 5px 20px;
}

.banner {
  height: 565px;
  background-image: url("../image/rs-cover.jpg");
  background-position: center center;
  background-size: cover;
}

.banner .mask {
  height: 565px;
  background-color: rgba(0, 0, 0, 0.8);
}

.userCard {
  max-width: 940px;
  margin: -350px auto 0 auto;
  background-color: rgb(255, 255, 255);
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.18), 0 1px 5px 0 rgba(0, 0, 0, 0.15);
}

.userCard .welcome {
  background-color: #e6686a;
  color: white;
  padding: 4px 10px;
  line-height: 22px;
  position: relative;
  margin-bottom: 11px;
  display: inline-block;
}

.userCard .welcome::after {
  content: "";
  display: block;
  border: 10px solid transparent;
  border-left-color: #e6686a;
  border-top-width: 0;
  width: 0;
  position: absolute;
  top: 100%;
  left: 4px;
}

.userCard .picture,
.userCard .text {
  float: left;
}

.userCard .text {
  margin-left: 65px;
  width: 470px;
}

.userCard .text h1 {
  margin-top: 20px;
}

.userCard .text h2 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 11px;
}

.userCard .text hr {
  margin: 30px 0 20px 0;
}

.userCard .pictureAndText {
  padding: 50px;
}

.userCard dl dt,
.userCard dl dd {
  float: left;
  margin: 10px 0;
}

.userCard dl dt {
  width: 30%;
  color: #333333;
  font-weight: 700;
}

.userCard dl dd {
  width: 70%;
  color: #9da0a7;
}

.userCard > footer.media {
  background-color: rgb(232, 103, 107);
  text-align: center;
}

.userCard > footer.media a {
  display: inline-block;
  border-radius: 50%;
  padding: 20px 20px;
  margin: 20px 20px;
}

.userCard > footer.media a:hover {
  background-color: rgb(208, 92, 96);
  transition: all 1s;
}

.userCard svg {
  width: 30px;
  height: 30px;
  fill: white;
  vertical-align: top;
}

body > main .download-wrapper {
  text-align: center;
}

body > main .download {
  font-size: 16px;
  font-weight: bold;
  display: inline-block;
  border: 1px solid #cdcfd1;
  background-color: rgb(239, 239, 239);
  padding: 18px 90px;
  margin: 36px 0;
  letter-spacing: 0.05em;
}

body > main .download:hover {
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.4s;
}

body > main .selfIntroduction {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
  letter-spacing: 0.1em;
  font-size: 18px;
}

section.skills,
section.portfolio {
  max-width: 940px;
  margin: 80px auto 0 auto;
}

section.message > h2,
section.skills > h2,
section.portfolio > h2 {
  color: #3d4451;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
}

section.skills > ol {
  background-color: #fff;
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.18), 0 1px 5px 0 rgba(0, 0, 0, 0.15);
  padding: 42px 50px 0 50px;
  margin-top: 30px;
}

section.skills > ol > li {
  float: left;
  width: 48%;
}

section.skills > ol > li:nth-child(even) {
  float: right;
}

section.skills > ol h3 {
  font-size: 14px;
}

section.skills .progressBar {
  height: 5px;
  background-color: rgb(250, 225, 225);
  border-radius: 5px;
  margin: 4px 0 40px 0;
  overflow: hidden;
}

section.skills .progressBar .progress {
  height: 100%;
  background-color: rgb(232, 103, 107);
  width: 70%;
  border-radius: 5px;
  transform: translateX(0);
  transition: all 1s;
}

section.skills.offset .progress {
  transform: translateX(-100%);
}

section.portfolio {
  text-align: center;
  max-width: 720px;
}

section.portfolio h2{
  margin-bottom: 32px;
}

section.portfolio .swiper-container {
  width: 668px;
  height: 501px;
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.18), 0 1px 5px 0 rgba(0, 0, 0, 0.15);
}

section.portfolio .swiper-button-prev,.swiper-button-next{
  width: 64px;
  height: 64px;
  background-color: #fff;
  border-radius: 50%;
  left: -50px;
  right: auto;
}
section.portfolio .swiper-button-next{
  right: -50px;
  left: auto;
}

section.message h2{
  margin: 90px 0 32px 0;
}

section.message > ol{
  max-width: 700px;
  margin: 0 auto;
  border-top: 1px solid #d8d7d7;
  background-color: rgb(239, 239, 239);
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1);
}

section.message > ol > li{
  padding: 16px;
  border-bottom: 1px solid #d8d7d7;
}

.postMassageForm{
  width: 700px;
  margin: 50px auto;
  display: flex;
  justify-content: space-between;
}

.postMassageForm .msgName,.msgContent{
  color: #345345;
}



.postMassageForm .msgName>input,.msgContent>input{
  width: 260px;
  padding: 7px 0px;
  border: none;
  border-radius: 5px;
  padding-left: 5px;
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.15);
}

.postMassageForm .msgBtn{
  -webkit-appearance: none;
  border: 1px solid #d8d7d7;
  color: #345345;
  padding: 5px 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);;
}